GtkBox: Add baseline alignment for horizontal boxes
authorAlexander Larsson <alexl@redhat.com>
Tue, 5 Mar 2013 14:20:20 +0000 (15:20 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 23 Apr 2013 03:50:38 +0000 (05:50 +0200)
commit9a42942afbe9f535e44413c5bfe49a44577cf238
tree0e5d281dd53800fabad297b69551d35a90cefa61
parent1e1cf89e4f6234ff364e13c378706b1330ebb2d5
GtkBox: Add baseline alignment for horizontal boxes

Report a baseline based height and baseline whenever there
are children with ALIGN_BASELINE.

Assign baseline to childen in size_allocate. Either the one inherited
from the parent if set, or otherwise calculate one based on any
ALIGN_BASELINE children.
gtk/gtkbox.c
gtk/gtkbox.h
gtk/gtkenums.h